//
//  TDTransaction.h
//  TFB
//
//  Created by yull on 15/8/14.
//  Copyright (c) 2015年 TD. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface TDTransaction : NSObject

@property (nonatomic, copy) NSString *fee;              //手续费
@property (nonatomic, copy) NSString *netrecamt;        //支付实际金额
@property (nonatomic, copy) NSString *pay_cardno;       //支付银行卡号
@property (nonatomic, copy) NSString *pay_sign_pic;
@property (nonatomic, copy) NSString *rate;             //费率
@property (nonatomic, copy) NSString *rate_type;        //费率类型
@property (nonatomic, copy) NSString *ter_no;           //支付终端号
@property (nonatomic, copy) NSString *txamt;            //订单金额
@property (nonatomic, copy) NSString *custId;           //商户编号
@property (nonatomic, copy) NSString *ordamt;           //订单金额
@property (nonatomic, copy) NSString *ordstatus;        //订单状态 00:未交易 01:成功 02:失败 03:可疑 04:处理中 05:已取消 06:未支付 07:已退货 08:退货中 09:部分退货
@property (nonatomic, copy) NSString *ordtime;          //订单时间
@property (nonatomic, copy) NSString *prdordno;
@property (nonatomic, copy) NSString *prdordtype;       //订单类型 01收款 02商品 03 提现
@property (nonatomic, copy) NSString *price;            //商品单价

@property (nonatomic, copy) NSString *payordno;
@property (nonatomic, copy) NSString *payDate;
@property (nonatomic, copy) NSString *payTime;
@property (nonatomic, copy) NSString *payordtime;
@property (nonatomic, copy) NSString *paytype;          //支付方式 01 支付账户   02 终端   03 快捷支付
@property (nonatomic, copy) NSString *payCardno;
@property (nonatomic, copy) NSString *paySignPic;
@property (nonatomic, copy) NSString *payChannel;
@property (nonatomic, copy) NSString *paystatus;

+ (instancetype)transactionWithDictionary:(NSDictionary *)dic;

- (NSString *)get_prdordtype_string;
- (NSString *)get_ordtime_format;
- (NSString *)get_total_ordtime_format;
- (NSString *)get_ordstatus_string;

@end
